<script setup lang="ts">

</script>

<template>
  <main>
    HOME
    <nav>
      <router-link to="/home/user1">user1</router-link>
      <router-link to="/home/user2">user2</router-link>
    </nav>

    <router-view></router-view>
    <router-view name="bbb"></router-view>
    <router-view name="ccc"></router-view>
  </main>

</template>

<style scoped>
nav {
  width: 100%;
  font-size: 14px;
  text-align: center;
  margin-top: 2rem;
}

nav a.router-link-exact-active {
  color: var(--color-text);
}

nav a.router-link-exact-active:hover {
  background-color: transparent;
}

nav a {
  display: inline-block;
  padding: 0 1rem;
  border-left: 1px solid var(--color-border);
}

nav a:first-of-type {
  border: 0;
}
</style>
